package com.sojson.util.swagger.test.entity;

import com.sojson.base.impl.BaseDto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 添加一下就行
 */
@ApiModel
public class SwaggerTestBean extends BaseDto {

    /***/
    private static final long serialVersionUID = 5235861811470898601L;

    /**
     * name:        重写属性名字
     * value:       字段说明
     * dataType:    重写属性类型
     * required:    是否必填
     * example:     例子
     * hidden:      隐藏
     */
    @ApiModelProperty(name = "test6", value = "测试字段6", dataType = "int", required = true, example = "a6",
        hidden = false)
    private String beanTest6;
    private String beanTest7;
    private String beanTest8;
    @ApiModelProperty(name = "test9", value = "测试字段9")
    private SwaggerTestBean swaggerTestBean;

    public String getBeanTest6() {
        return beanTest6;
    }

    public void setBeanTest6(String beanTest6) {
        this.beanTest6 = beanTest6;
    }

    @ApiModelProperty(name = "test7", value = "测试字段7", dataType = "int", required = false, example = "a7",
        hidden = false)
    public String getBeanTest7() {
        return beanTest7;
    }

    public void setBeanTest7(String beanTest7) {
        this.beanTest7 = beanTest7;
    }

    public String getBeanTest8() {
        return beanTest8;
    }

    @ApiModelProperty(name = "test8", value = "测试字段8", dataType = "int", required = false, example = "a8",
        hidden = true)
    public void setBeanTest8(String beanTest8) {
        this.beanTest8 = beanTest8;
    }

    public SwaggerTestBean getSwaggerTestBean() {
        return swaggerTestBean;
    }

    public void setSwaggerTestBean(SwaggerTestBean swaggerTestBean) {
        this.swaggerTestBean = swaggerTestBean;
    }

}